import pytest,requests
from selenium import webdriver
# , 'chrome', 'firefox'

@pytest.fixture(params=['edge'])
def choose_browser(request):
    driver = None
    browser_name = request.param
    if browser_name == 'edge':
        driver = webdriver.Edge()
    elif browser_name == 'chrome':
        driver = webdriver.Chrome()
    elif browser_name == 'firefox':
        driver = webdriver.Firefox()
    driver.maximize_window()
    yield driver
    driver.quit()


